<?php

class IndexController extends Zend_Controller_Action
{

 	public function init()
    {
        /* Initialize action controller here */
    }

    public function indexAction()
    {
                
    }
    
    public function carteleraAction(){
        $PeliculaOBJ = new Pelicula();
        $this->view->cartelera = $PeliculaOBJ->getCartelera();
    }
    
   public function catalogoAction(){
                $PeliculaOBJ = new Pelicula();
        $this->view->catalogo = $PeliculaOBJ->getCatalogo();
   
   }
   
   public function vermasAction() {
                $idPelicula = $this->_request->getParam("id");
                $PeliculaOBJ = new Pelicula();
        $this->view->info = $PeliculaOBJ->verMas($idPelicula);
   }
	


}

